package com.example.study.design.singleton;

/**
 * 懒汉模式-枚举
 *
 * @author duckquan
 */
public enum LazyEnum {

    INSTANCE;

    private String id;

    private String name;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public static LazyEnum getInstance() {
        return INSTANCE;
    }

}
